package com.xiyu.service.repository.market.template;

import com.xiyu.service.model.market.template.MarketTemplateContent;
import com.xiyu.service.model.market.template.MarketTemplateContentTable;
import org.babyfish.jimmer.spring.repository.JRepository;

import java.util.Optional;

public interface MarketTemplateContentRepository extends JRepository<MarketTemplateContent, Long> {
    MarketTemplateContentTable marketTemplateContentTable = MarketTemplateContentTable.$;

    Optional<MarketTemplateContent> findByTemplateId(Long templateId);

}